#!/bin/bash
sed -i s#console.log#//console.log#g ./node_modules/wx_jsapi_sign/lib/wx_jsapi_sign.js
sed -i -E 's/[[:space:]]+$//' `grep -rlE --include='*.hbs' '[[:space:]]+$' .`
sed -i -E 's/[[:space:]]+$//' `grep -rlE --include='*.js' --exclude-dir=node_modules --exclude-dir=js '[[:space:]]+$' .`
